const init = () => {
  const body = document.querySelector('body');
  const handleBtnNode = document.querySelector('.text h2');
  handleBtnNode.addEventListener('click', () => {
    body.classList.add('start');
    setTimeout(() => {
      body.classList.remove('start');
      window.location = 'courselist.html';
    }, 600);
  });
};

init();